import {DataTableColumns, NImage, NSpace, NSwitch, NTag} from "naive-ui";
import {h} from "vue";
import {eventBus} from "@/config/eventBus";
/**
 * 状态的点击事件
 * @param row
 */
const handleSwitchClick = (row: any) => {
    eventBus.emit("handleUserStatusSwitchClick", row)
}

export const remoteResourceType = [
  {
    label:'Stable Diffusion',
    value: 'SD'
  },
  {
    label: 'Midjourney',
    value: 'MJ'
  },
  {
    label: 'Azure',
    value: 'azure'
  },{
    label: 'Fooocus',
    value: 'fooocus'
  }
]

export const isPublicOption = [
  {
    label:'公开',
    value: '1'
  },
  {
    label: '私有',
    value: '0'
  }
]

export const statusOption = [
  {
    label:'启用',
    value: '1'
  },
  {
    label: '停用',
    value: '2'
  }
]
